package com.zxc.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Tolerate;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 用户权限关联表user_qx(UserQx)实体类
 *
 * @author makejava
 * @since 2021-02-22 10:52:23
 */
@Data
@Builder
@ToString
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "规格表", description = "规格表")
@TableName("gui_ge")
public class GuiGe implements Serializable {
//    private static final long serialVersionUID = -27612648166374697L;

    @Tolerate
    public GuiGe(){};

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = " 主键", example = "")
    private Integer id;
    @ApiModelProperty(name = "spId", value = " 商品Id", example = "")
    private Integer spId;
    @ApiModelProperty(name = "name", value = " 规格名称", example = "")
    private String name;
    @ApiModelProperty(name = "pice", value = " 价格区间", example = "")
    private BigDecimal pice;
    @ApiModelProperty(name = "num", value = " 库存", example = "")
    private Integer num;
    @ApiModelProperty(name = "isDelete", value = " 是否删除0:默认 1：删除", example = "")
    private Integer isDelete;
}
